//
//  ViewController.m
//  UI03
//
//  Created by Bodi on 16/6/7.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ViewController.h"
#import "BodiView.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    [self creatView];
}
-(void)creatView{

    BodiView *view = [[BodiView alloc]initWithFrame:CGRectMake(50, 50, 300, 200) withText:@"用户名" iniFrame:CGRectMake(60, 60, 100, 40)];
    [self.view addSubview:view];
    [view release];


}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
